import React from "react";

import { Button } from "antd";
import { SmallDashOutlined } from "@ant-design/icons";

/**
 *
 * @param {{
 * onLoadMore:(e:any)=>void
 * }} props
 */
const LoadMore = (props) => {
  const { onLoadMore } = props;
  return (
    <div
      style={{
        textAlign: "center",
        marginTop: 20,
        height: 32,
        lineHeight: "32px",
      }}
    >
      <Button onClick={onLoadMore} size="large">
        <span style={{ marginLeft: "5px" }}> تېخىمۇ كۆپ ...</span>
      </Button>
    </div>
  );
};
export default LoadMore;
